#ifndef YIGSCORE_H
#define YIGSCORE_H

#include <QWidget>
#include <QToolButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QTextEdit>
#include <QDir>
#include <QList>
#include <QScrollBar>
#include <QMacStyle>

#include "gui/yigclock.h"

/**
@class YigScore

*/
class YigScore : public QWidget
{
    Q_OBJECT

public:

    YigScore(QWidget *parent = 0);
    
    QDir getScoreDirectory();
    void setScoreDirectory(QDir scoreDirectory);

signals:

    void sceneChanged(int sceneNum);
    
public slots:

    void createScoreScenes();
    void setScene(int sceneNum);
    void prevScene();
    void nextScene();

private:

    QTextEdit mScoreDisplay;
    QVBoxLayout mVerticalLayout;
    QHBoxLayout mHorizontalLayout;
    QToolButton mPrevButton, mNextButton;
    int mCurrentScene;
    QDir mScoreDirectory;
    QList<QString>  mScoreList;
    YigClock mClock;
};

#endif // YIGSCORE_H
